package com.woniuxy.service;

import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.Title;
import com.woniuxy.entity.dto.TitleDto;

/**
 * @ClassName TitleService
 * @Description TODO
 * @Author 冯浩波
 * @Date 2022/3/12 15:26
 */
public interface TitleService {


    ResponseEntity deleteTitle(int id);

//    ResponseEntity addTitle(TitleDto titleDto, int topicid);

    ResponseEntity addTitle(Title title);

    ResponseEntity updateTitle(Title title);

    ResponseEntity findTitle(int currentPage, int pageSize,Title title);

    ResponseEntity findTopicID(int trainingid);
}
